/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package function;

/**
 *
 * @author rinke
 */
public final class FunctionTools {

    private FunctionTools() {
    }
    
    
    /**
     * Liefert den Sinus zu einem Argument x.
     * @return sin(x)
     */
    public static ScalarFunction1d getSinus() {
        return new ScalarFunction1d() {
            @Override
            public double getValue(double x) {
                return Math.sin(x);
            }
        };
    }
}